#ifndef __HAVAL_H__
#define __HAVAL_H__

#include "includes.h"
#include "vehicle.h"
#include "drivers.h"

void haval_init(Vehicle *vehicle);

uint8_t haval_check_engine_on(void);
void haval_get_rpm(uint16_t *rpm);
void haval_process_vin_code(VinCode *code);
void haval_process_eng_data(EngineDataMap *dataMap);
void haval_process_bcm_data(BcmDataMap *dataMap);
void haval_process_ipc_data(IpcDataMap *dataMap);

#endif
